<extend name="Index/index" />

<block name="Main content">

    <div style="padding:20px"> 

        <div class="col-md-6">
                <form action="<{:U('Node/save')}>" method="post" onsubmit="return checkForm()">

                      <div class="form-group  col-md-10">
                            <div class="col-md-3">节点名称</div>
                            <div class="col-md-8"><input type="text" class=" form-control" name="name" value="<{$data.name}>"></div>
                      </div>

                      <div class="col-md-2"></div>

                  
                      <!-- 下拉框 -->
                      <div class="form-group  col-md-10">
                            <div class="col-md-3">所属模块</div>
                            <div class="col-md-8">
                              <select name="mname">
                                  <volist name="list" id="v">
                                      <option value="<{$v}>" <if condition="$v eq $data['mname']">selected</if>><{$v}></option>
                                  </volist>
                              </select>
                            </div>
                      </div>
                      <div class="col-md-2"></div>

                      <div class="form-group  col-md-10">
                            <div class="col-md-3">实现方法</div>
                            <div class="col-md-8"><input type="text" class=" form-control" name="aname" value="<{$data.aname}>"></div>
                      </div>

                      <div class="col-md-2"></div>




                      
                      <div class="form-group col-md-5 col-md-offset-3" >
                          <input type="submit" class="btn btn-primary col-md-12" value="确认修改">
                      </div>

                      <!-- 隐藏域 -->
                      <input type="hidden" name="id" value="<{$data.id}>">
                </form>
            </div>
        </div>
</block>

<block name="myjs">

<script>
    
</script>

</block>
